package cn.itcast.itcaststore.domain;

public class Orderitem {
    private long order_id;
    private String product_id;
    private int buynum;

    @Override
    public String toString() {
        return "Orderitem{" +
                "order_id='" + order_id + '\'' +
                ", product_id='" + product_id + '\'' +
                ", buynum=" + buynum +
                '}';
    }

    public Orderitem() {
    }


    public Orderitem(long order_id, String product_id, int buynum) {
        this.order_id = order_id;
        this.product_id = product_id;
        this.buynum = buynum;
    }

    public long getOrder_id() {
        return order_id;
    }

    public void setOrder_id(long order_id) {
        this.order_id = order_id;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public int getBuynum() {
        return buynum;
    }

    public void setBuynum(int buynum) {
        this.buynum = buynum;
    }
}
